package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.dromara.system.domain.XcxSubscribeKeyword;
import org.dromara.system.domain.vo.XcxSubscribeKeywordVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 订阅关键字Mapper接口
 *
 * @author Lion Li
 * @date 2024-07-01
 */
public interface XcxSubscribeKeywordMapper extends BaseMapperPlus<XcxSubscribeKeyword, XcxSubscribeKeywordVo> {

    List<XcxSubscribeKeywordVo> selectVoListKeyword(@Param(Constants.WRAPPER) LambdaQueryWrapper<XcxSubscribeKeyword> ew);

    List<Long> selectVoListUserId(String keyword, String projectUnit);
}
